Main Page | Class List | Class Members

BustaEngine Class Reference

Busta'Sandwich Engine. More...

#include <BustaEngine.h>

List of all members.

Public Member Functions

 BustaEngine ()
 Constructor.
 ~BustaEngine ()
 Destructor.
ScreenState getState ()
 Gets the current/next screen state.
void setState (ScreenState s)
 Sets current/next screen state.
void mainMenu ()
 Main Menu.
void optionsMenu ()
 Options Menu.
void highScores ()
 High Scores Screen.
void characterSelect ()
 Character Select Screen.
void connectScreen ()
 Connection Screen.
void keyBindingMenu ()
 Key Binding Menu.
void soundsMenu ()
 Difficulty Screen.
void difficultyMenu ()
 Difficulty Screen.
void playGame ()
 SP Game.
void displayRankings ()
 Ranking Screen.
char * netInit (char *ip)
 Initializes network connection.


Detailed Description

Busta'Sandwich Engine.

Busta'Sandwich Engine for single player and networked multiplayer games.


Constructor & Destructor Documentation

BustaEngine::BustaEngine  ) 
 

Constructor.

Initializes variables

BustaEngine::~BustaEngine  ) 
 

Destructor.


Member Function Documentation

void BustaEngine::characterSelect  ) 
 

Character Select Screen.

Displays the character select screen, allowing user(s) to choose character Currently a stub function, sets to SP_GAME!

void BustaEngine::connectScreen  ) 
 

Connection Screen.

Displays the connection screen and handles the multiplayer connection Currently a stub function, sets to CHAR_SELECT!

void BustaEngine::difficultyMenu  ) 
 

Difficulty Screen.

Sub-menu under options, allows user to change the difficulty of the game Currently a stub function that sends back to Options menu

void BustaEngine::displayRankings  ) 
 

Ranking Screen.

Displays the ranking of the players at the end of a multiplayer game Currently a stub function, sets state to MAIN_MENU!

ScreenState BustaEngine::getState  ) 
 

Gets the current/next screen state.

Gets the engine (screen) state

Returns:
Returns a ScreenState describing which screen the engine should be in

void BustaEngine::highScores  ) 
 

High Scores Screen.

Displays the high scores, returns when moving to main menu

void BustaEngine::keyBindingMenu  ) 
 

Key Binding Menu.

Sub-menu under options, allows user to change the key bindings of the game Currently a stub function that sends back to Options menu

void BustaEngine::mainMenu  ) 
 

Main Menu.

Displays main menu, returns when moving to new menu

char * BustaEngine::netInit char *  ip  ) 
 

Initializes network connection.

Initializes the network connection, returns error messages

Returns:
Returns a char* describing any errors that occured; returns NULL if connected correctly

void BustaEngine::optionsMenu  ) 
 

Options Menu.

Displays the options menu, returns when moving to new menu Currently a stub function, sets back to main menu!

void BustaEngine::playGame  ) 
 

SP Game.

Displays and runs the game loop (SP or MP), returns when game over for single player, when multiplayer is over, or when explicitly exit

void BustaEngine::setState ScreenState  s  ) 
 

Sets current/next screen state.

sets the engine (screen) state

void BustaEngine::soundsMenu  ) 
 

Difficulty Screen.

Sub-menu under options, allows user to change the sound options Currently a stub function that sends back to Options menu


Generated on Tue Aug 2 22:03:11 2005 for BustaSandwich Engine by  doxygen 1.4.2-20050421